package com.power.model;

import com.power.domain.SysMenu;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@ApiModel("菜单权限和操作权限")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MenuAndAuth {

    @ApiModelProperty("菜单权限集合")
    private Set<SysMenu> menuList;

    @ApiModelProperty("操作全新集合")
    private Set<String> authorities;

}
